@import (once) "../../include/vars";
@import (once) "../../include/mixins";

[data-role*=dropdown] {
    //display: block;
}

.dropdown-toggle {

    .toggle();

    &.drop-marker-light, &.marker-light  {
        &::before {
            border-color: @white;
        }
    }

    &.no-marker {
        &::before {
            display: none;
        }
    }

    &.active-toggle, &.active-container {
        &::before {
            .rotate(135deg);
            transition: @transition-short;
        }
    }

    &.marker-center {
        &::before {
            left: 50%;
            top: 50%;
            margin-left: 0;
            margin-top: 0;
            .translateX(-50%);
            .translateY(-50%);
            .rotate(-45deg);
        }
        &.active-toggle, &.active-container {
            &::before {
                .translateX(-50%);
                .translateY(-50%);
                .rotate(135deg);
                transition: @transition-short;
            }
        }
    }
}

.drop-left {
    right: 100%!important;
    top: 0!important;
}

.drop-right {
    left: 100%!important;
    top: 0!important;
}

.drop-up {
    top: auto!important;
    bottom: 100%!important;
}
